// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/iconfont/iconfont.css'
import './assets/reset.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import g from './common/g.js'
import VueClipboard from 'vue-clipboard2'
import store from './store'
import './styles/index.scss'

Vue.config.productionTip = false
Vue.prototype.$g = g
Vue.use(ElementUI)
Vue.use(VueClipboard)

// 获取数据字典
store.dispatch('getSysDict')

console.log(process.env.BASE_URL)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
